package com.sms.graduate.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sms.graduate.dao.SmsExamquestionsDao;
import com.sms.graduate.entity.SmsExamquestions;
import com.sms.graduate.service.SmsExamquestionsService;
import org.springframework.stereotype.Service;

import java.util.List;



@Service
public class SmsExamquestionsServiceImpl extends ServiceImpl<SmsExamquestionsDao, SmsExamquestions> implements SmsExamquestionsService {

    @Override
    public List<SmsExamquestions> selectQuestions(Integer type) {
        QueryWrapper<SmsExamquestions> queryWrapper = new QueryWrapper<>();
        queryWrapper.eq(SmsExamquestions.COL_EXAMTYPE,type);
        return this.list(queryWrapper);
    }

}

